package com.example.su_shi_tan_bas_lib.album.bean;


import com.example.su_shi_tan_bas_lib.album.constant.AlbumMediaMode;
import com.example.su_shi_tan_bas_lib.album.interfaces.FailedCallback;
import com.example.su_shi_tan_bas_lib.album.interfaces.SuccessCallback;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class FunctionBean implements Serializable {

    public static final int MIN_SELECT_COUNT=1;

    protected @AlbumMediaMode
    String MediaType;

    private boolean useCamera;

    private int selectCount=MIN_SELECT_COUNT;

    private List<AlbumFile> mCheckedFiles = new ArrayList<>();

    private SuccessCallback mSuccessCallback;

    private FailedCallback mFailedCallback;

    public SuccessCallback getSuccessCallback() {
        return mSuccessCallback;
    }

    public void setSelectCount(int selectCount) {
        this.selectCount = selectCount;
    }

    public int getSelectCount() {
        return selectCount;
    }

    public void setSuccessCallback(SuccessCallback mSuccessCallback) {
        this.mSuccessCallback = mSuccessCallback;
    }

    public FailedCallback getFailedCallback() {
        return mFailedCallback;
    }

    public void setFailedCallback(FailedCallback mFailedCallback) {
        this.mFailedCallback = mFailedCallback;
    }

    public boolean isUseCamera() {
        return useCamera;
    }

    public void setUseCamera(boolean useCamera) {
        this.useCamera = useCamera;
    }

    public @AlbumMediaMode
    String getMediaType() {
        return MediaType;
    }

    public List<AlbumFile> getCheckedFiles() {
        return mCheckedFiles;
    }
}
